﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ITAP.ContourBuilder.Manipulation;
using System.Drawing;

namespace ITAP.ContourBuilder
{
    public class GlobalData
    {
        /// <summary>
        /// Коэффициент для перевода размеров шрифта в размеры модели.
        /// FonSize * FontSizeToScreenSizeFactor = ModelSize;
        /// </summary>
        public static double FontSizeToScreenSizeFactor = 4;
        public static int ConnectorRadiusInPixels = 3;
        public static int HookRadiusInPixels = 3;
        private static ExecuteManager executeManager;

        public static ExecuteManager ExecuteManager
        {
            get { return GlobalData.executeManager; }
            set { GlobalData.executeManager = value; }
        }

        public static Font DimensionTextFont = new Font("Arial", 9);
        public static bool Debug = false;
    }
}
